<?php $this->load->view('header');?>

<body>
    <div class="layui-layout layui-layout-admin kit-layout-admin ">
        <div class="layui-header layui-bg-cyan">
            <div class="layui-logo" style="font-size: 20px;color:#F0F0F0">NMP</div>

            <ul class="layui-nav layui-layout-right kit-nav" style="margin-right: 23px;">
                <li class="layui-nav-item">
                    <a href="javascript:;">
                        <?php if ($headimg):?>
                        <img src="<?=$headimg?>" class="layui-nav-img">
                        <?php else:?>
                        <img src="plugins/layui/images/face.png" class="layui-nav-img">
                        <?php endif;?> <?=$name?>
                    </a>
                    <dl class="layui-nav-child">
                        <dd><a href="admin.php/login/sign_out">注 销</a></dd>
                    </dl>
                </li>
            </ul>
        </div>

        <div class="layui-side layui-bg-cyan kit-side">
            <div class="layui-side-scroll">
                <div class="kit-side-fold layui-bg-cyan"><i class="layui-icon">&#xe65f;</i></div>
                <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
                <ul class="layui-nav layui-bg-cyan layui-nav-tree" lay-filter="kitNavbar" kit-navbar>
    <!--                 <li class="layui-nav-item layui-bg-cyan">
                        <a href="javascript:;" data-options="{url:'index.php/main',icon:'&#xe648;',title:'地震列表',id:'-1'}" kit-target>
                            <i class="layui-icon">&#xe648;</i> <span>地震列表</span>
                        </a>
                    </li> -->
                    <li class="layui-nav-item layui-bg-cyan">
                        <a class="" href="javascript:;"><i class="layui-icon">&#xe620;</i><span> 系统管理</span></a>
                        <dl class="layui-nav-child">
                          <dd>
                            <a href="javascript:;" data-options="{url:'admin.php/AdminUser/index',icon:'',title:'管理员列表',id:'1'}" kit-target>
                                <span> 管理员列表</span>
                            </a>
                          </dd>
<!--                           <dd>
                            <a href="javascript:;" data-options="{url:'',icon:'',title:'角色列表',id:'2'}" kit-target>
                                <span> 角色列表</span>
                            </a>
                          </dd> -->
                          <dd>
                            <a href="javascript:;" data-options="{url:'admin.php/Article/index',icon:'',title:'文章管理',id:'23'}" kit-target>
                                <span> 文章管理</span>
                            </a>
                          </dd>
                          <dd>
                            <a href="javascript:;" data-options="{url:'admin.php/MemberMenu/index',icon:'',title:'菜单管理',id:'24'}" kit-target>
                                <span> 菜单管理</span>
                            </a>
                          </dd>
						  <dd>
                            <a href="javascript:;" data-options="{url:'admin.php/SysConfig/index',icon:'',title:'系统设置',id:'25'}" kit-target>
                                <span> 系统设置</span>
                            </a>
                          </dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item layui-bg-cyan">
                        <a class="" href="javascript:;"><i class="layui-icon">&#xe857;</i><span> 数据魔方</span></a>
                        <dl class="layui-nav-child">
                          <dd>
                            <a href="javascript:;" data-options="{url:'admin.php/UserSurvey/index',icon:'',title:'会员概况',id:'3'}" kit-target>
                                <span> 会员概况</span>
                            </a>
                          </dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item layui-bg-cyan">
                        <a class="" href="javascript:;"><i class="layui-icon">&#xe605;</i><span> 预约签到</span></a>
                        <dl class="layui-nav-child">
                          <dd>
                            <a href="javascript:;" data-options="{url:'admin.php/Reserve/index',icon:'',title:'预约管理',id:'4'}" kit-target>
                                <span> 预约管理</span>
                            </a>
                          </dd>
                          <dd>
                            <a href="javascript:;" data-options="{url:'admin.php/Report/index',icon:'',title:'签到管理',id:'5'}" kit-target>
                                <span> 签到管理</span>
                            </a>
                          </dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item layui-bg-cyan">
                        <a class="" href="javascript:;"><i class="layui-icon">&#xe735;</i><span> 会员管理</span></a>
                        <dl class="layui-nav-child">
                          <dd>
                            <a href="javascript:;" data-options="{url:'admin.php/UserMember/index',icon:'',title:'全部会员',id:'6'}" kit-target>
                                <span> 全部会员</span>
                            </a>
                          </dd>
  <!--                         <dd>
                            <a href="javascript:;" data-options="{url:'',icon:'',title:'会员绑卡',id:'7'}" kit-target>
                                <span> 会员绑卡</span>
                            </a>
                          </dd>
                          <dd>
                            <a href="javascript:;" data-options="{url:'',icon:'',title:'设置会员卡',id:'8'}" kit-target>
                                <span> 设置会员卡</span>
                            </a>
                          </dd> -->
                        </dl>
                    </li>
                    <li class="layui-nav-item layui-bg-cyan">
                        <a class="" href="javascript:;"><i class="layui-icon">&#xe612;</i><span> 员工设置</span></a>
                        <dl class="layui-nav-child">
<!--                           <dd>
                            <a href="javascript:;" data-options="{url:'',icon:'',title:'工作人员',id:'9'}" kit-target>
                                <span> 工作人员</span>
                            </a>
                          </dd> -->
                          <dd>
                            <a href="javascript:;" data-options="{url:'admin.php/Coach/index',icon:'',title:'教练',id:'10'}" kit-target>
                                <span> 教练</span>
                            </a>
                          </dd>
<!--                           <dd>
                            <a href="javascript:;" data-options="{url:'',icon:'',title:'员工请假',id:'11'}" kit-target>
                                <span> 员工请假</span>
                            </a>
                          </dd>
                          <dd>
                            <a href="javascript:;" data-options="{url:'',icon:'',title:'资薪设置',id:'12'}" kit-target>
                                <span> 资薪设置</span>
                            </a>
                          </dd> -->
                        </dl>
                    </li>
                    <li class="layui-nav-item layui-bg-cyan">
                        <a class="" href="javascript:;"><i class="layui-icon">&#xe62d;</i><span> 课程管理</span></a>
                        <dl class="layui-nav-child">
                          <dd>
                            <a href="javascript:;" data-options="{url:'admin.php/Courses/index',icon:'',title:'全部课程',id:'13'}" kit-target>
                                <span> 全部课程</span>
                            </a>
                          </dd>                          
                          <dd>
                            <a href="javascript:;" data-options="{url:'admin.php/Sport/index',icon:'',title:'动作管理',id:'15'}" kit-target>
                                <span> 动作管理</span>
                            </a>
                          </dd>
						   <dd>
                            <a href="javascript:;" data-options="{url:'admin.php/Order/index',icon:'',title:'购卡记录',id:'14'}" kit-target>
                                <span> 购卡记录</span>
                            </a>
                          </dd>
                        </dl>
                    </li>
					<!--li class="layui-nav-item layui-bg-cyan">
                        <a class="" href="javascript:;"><i class="layui-icon">&#xe65e;</i><span> 订单管理</span></a>
                        <dl class="layui-nav-child">
                          <dd>
                            <a href="javascript:;" data-options="{url:'admin.php/Order/index',icon:'',title:'全部订单',id:'14'}" kit-target>
                                <span> 全部订单</span>
                            </a>
                          </dd>                         					  
                        </dl>
                    </li-->
                    <li class="layui-nav-item layui-bg-cyan">
                        <a class="" href="javascript:;"><i class="layui-icon">&#xe630;</i><span> 场馆设置</span></a>
                        <dl class="layui-nav-child">
                          <dd>
                            <a href="javascript:;" data-options="{url:'admin.php/Venue/index',icon:'',title:'场馆编辑',id:'16'}" kit-target>
                                <span> 场馆编辑</span>
                            </a>
                          </dd>
<!--                           <dd>
                            <a href="javascript:;" data-options="{url:'',icon:'',title:'场馆相册',id:'17'}" kit-target>
                                <span> 场馆相册</span>
                            </a>
                          </dd> -->
                        </dl>
                    </li>
                    <li class="layui-nav-item layui-bg-cyan">
                        <a class="" href="javascript:;"><i class="layui-icon">&#xe62c;</i><span> 统计报表</span></a>
                        <dl class="layui-nav-child">
                          <dd>
                            <a href="javascript:;" data-options="{url:'admin.php/Revenue/index',icon:'',title:'营收报表',id:'18'}" kit-target>
                                <span> 营收报表</span>
                            </a>
                          </dd>
                          <dd>
                            <a href="javascript:;" data-options="{url:'admin.php/CourseReport/index',icon:'',title:'课程报表',id:'19'}" kit-target>
                                <span> 课程报表</span>
                            </a>
                          </dd>
    <!--                       <dd>
                            <a href="javascript:;" data-options="{url:'',icon:'',title:'会员卡报表',id:'20'}" kit-target>
                                <span> 会员卡报表</span>
                            </a>
                          </dd> -->
                          <dd>
                            <a href="javascript:;" data-options="{url:'admin.php/StaffReport/index',icon:'',title:'员工报表',id:'21'}" kit-target>
                                <span> 员工报表</span>
                            </a>
                          </dd>
<!--                           <dd>
                            <a href="javascript:;" data-options="{url:'',icon:'',title:'薪资报表',id:'22'}" kit-target>
                                <span> 薪资报表</span>
                            </a>
                          </dd> -->
                        </dl>
                    </li>
                </ul>
            </div>
        </div>
        <div class="layui-body" id="container">
            <!-- 内容主体区域 -->
            <div style="padding: 15px;">主体内容加载中,请稍等...</div>
        </div>

        <div class="layui-footer" style="text-align: center;">
            <!-- 底部固定区域 -->
            <p>© 2017 Slinw</p>
        </div>
    </div>
    
    <script>
        var message;
        var app;
        layui.config({
            base: 'plugins/layui/'
        }).use(['app', 'message'], function() {
           app = layui.app,
                $ = layui.jquery,
                layer = layui.layer;
            //将message设置为全局以便子页面调用
            message = layui.message;
            //主入口
            app.set({
                type: 'iframe'
            }).init();
        });
    </script>
</body>

</html>